﻿namespace TAProject.UI
{
    public class ComboBoxFiller<T>
    {
        private readonly string _name;
        private readonly T _value;

        public ComboBoxFiller(string name, T value)
        {
            _name = name;
            _value = value;
        }

        public T Value
        {
            get{ return _value;}
        }

        public override string ToString()
        {
            return _name;
        }
    }
}